#!/usr/bin/env python

import web

if __name__ == '__main__':
	import config
	import json
	
	db = web.database(dbn='sqlite', db=config.db)
	result = db.select('users', what='uid,token,expire,icon,max_weibo_id,min_weibo_id')
	for row in result:
		print row
	